package com.example.model;

public class UserInfo {
    private Integer customerId;
    private String customerName;
    private String pid; // 身份证号
    private String telephone;
    private String address;

    public UserInfo(Integer customerId,String customerName, String pid, String telephone, String address) {
        this.customerId = customerId;
        this.customerName = customerName;
        this.pid = pid;
        this.telephone = telephone;
        this.address = address;
    }

    public UserInfo() {
        // 可以初始化默认值
        this.customerId = 0; // 或其他默认值
        this.customerName = "";
        this.pid = "";
        this.telephone = "";
        this.address = "";
    }

    // Getters and Setters
    public Integer getCustomerId() { return customerId; }
    public void setCustomerId(Integer customerId) { this.customerId = customerId; }

    public String getCustomerName() { return customerName; }
    public void setCustomerName(String customerName) { this.customerName = customerName; }

    public String getPid() { return pid; }
    public void setPid(String pid) { this.pid = pid; }

    public String getTelephone() { return telephone; }
    public void setTelephone(String telephone) { this.telephone = telephone; }

    public String getAddress() { return address; }
    public void setAddress(String address) { this.address = address; }
}